<style lang="less" scoped>
.panel {
  margin-bottom: 10px;
  &-title {
    display: flex;
    padding: 10px;
    border-bottom: 0.1px solid #eaeaea;
    background: white;

    &__label {
      flex: 1;
      font-size: 16px;
      align-items: center;
    }
  }
  &-content {
    margin-bottom: 10px;
    background: white;

    &__item {
      display: flex;
      padding: 10px 10px 0 10px;
      font-size: 14px;
      &-label {
        color: #666;
      }
      &-value {
        flex: 1;
        padding-left: 15px;
        color: #333;
      }
    }
  }
}
.main-pic {
  width: 400px;
  height: 200px;
}
</style>

<template>
  <div class="panel">

    <!-- content -->
    <div class="panel-content">
      <div class="panel-content__item">
        <div class="panel-content__item-label">被执行人</div>
        <div class="panel-content__item-value">{{item.Name||'-'}}</div>
        <div class="panel-content__item-right"></div>
      </div>
      <div class="panel-content__item">
        <div class="panel-content__item-label">身份证/机构代码</div>
        <div class="panel-content__item-value">{{item.Partycardnum||'-'}}</div>
        <div class="panel-content__item-right"></div>
      </div>
      <div class="panel-content__item">
        <div class="panel-content__item-label">执行标的</div>
        <div class="panel-content__item-value">{{item.Biaodi||'-'}}</div>
        <div class="panel-content__item-right"></div>
      </div>
      <div class="panel-content__item">
        <div class="panel-content__item-label">执行法院</div>
        <div class="panel-content__item-value">{{item.Executegov||'-'}}</div>
        <div class="panel-content__item-right"></div>
      </div>
      <div class="panel-content__item">
        <div class="panel-content__item-label">立案时间</div>
        <div class="panel-content__item-value">{{item.Liandate||'-'}}</div>
        <div class="panel-content__item-right"></div>
      </div>
      <div class="panel-content__item">
        <div class="panel-content__item-label">案号</div>
        <div class="panel-content__item-value">{{item.Anno||'-'}}</div>
        <div class="panel-content__item-right"></div>
      </div>

    </div>

  </div>
</template>
<script>
export default {
  data() {
    return {
      item: {
        // Anno: '(2018)渝05执恢254号',
        // Biaodi: '0',
        // Createdate: '1-01-01',
        // Executegov: '重庆市第五中级人民法院',
        // Follows: 0,
        // Id: 'bf8b38b972838347a26e85ebc7fd595f1',
        // JudicialOpinionId: '',
        // Liandate: '2018-10-11',
        // Name: '重庆中宝能源股份有限公司',
        // NameKeyNoCollection: [
        //   {
        //     KeyNo: '67124a988100923d28bccdf5a2875656',
        //     Name: '重庆中宝能源股份有限公司'
        //   }
        // ],
        // OrgType: '2',
        // OrgTypeName: '失信企业',
        // Partycardnum: '795880717',
        // Province: '重庆',
        // Sourceid: 0,
        // Status: '',
        // Updatedate: '0001-01-01T00:00:00'
      }
    };
  },
  onShow() {
    this.getInfos();
  },
  methods: {
    getInfos() {
      const item = this.$route.query.item;
      this.item = JSON.parse(item);
    }
  }
};
</script>
